package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 群落附件表 视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "CommunityFile 视图", description = "群落附件表 视图")
public class CommunityFileVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 关联表ID
     */
    @ApiModelProperty(value = "关联表ID")
    @Excel(name = "关联表ID", orderNum = "0")
    private Integer mainId;

    /**
     * 文件Id
     */
    @ApiModelProperty(value = "文件Id")
    @Excel(name = "文件Id", orderNum = "0")
    private String fileId;

    /**
     * 文件名
     */
    @ApiModelProperty(value = "文件名")
    @Excel(name = "文件名", orderNum = "0")
    private String fileName;

    /**
     * 文件后缀
     */
    @ApiModelProperty(value = "文件后缀")
    @Excel(name = "文件后缀", orderNum = "0")
    private String fileSuffix;

    /**
     * 1 立牌图片 2 群落图片
     */
    @ApiModelProperty(value = "1 立牌图片 2 群落图片")
    @Excel(name = "1 立牌图片 2 群落图片", orderNum = "0")
    private Integer dataType;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    @Excel(name = "描述", orderNum = "0")
    private String desc;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @Excel(name = "修改人", orderNum = "0")
    private Integer dbUpdateId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;


}
